package request

import (
        "topsdk/ability168/domain"
        "topsdk/util"
    )

type TaobaoMiniappWidgetTemplateInstantiateRequest struct {
    /*
        实例化数据     */
    ParamMiniAppInstantiateTemplateAppSimpleRequest  *domain.TaobaoMiniappWidgetTemplateInstantiateMiniAppInstantiateTemplateAppSimpleRequest `json:"param_mini_app_instantiate_template_app_simple_request,omitempty" required:"false" `
}

func (s *TaobaoMiniappWidgetTemplateInstantiateRequest) SetParamMiniAppInstantiateTemplateAppSimpleRequest(v domain.TaobaoMiniappWidgetTemplateInstantiateMiniAppInstantiateTemplateAppSimpleRequest) *TaobaoMiniappWidgetTemplateInstantiateRequest {
    s.ParamMiniAppInstantiateTemplateAppSimpleRequest = &v
    return s
}

func (req *TaobaoMiniappWidgetTemplateInstantiateRequest) ToMap() map[string]interface{} {
    paramMap := make(map[string]interface{})
    if(req.ParamMiniAppInstantiateTemplateAppSimpleRequest != nil) {
        paramMap["param_mini_app_instantiate_template_app_simple_request"] = util.ConvertStruct(*req.ParamMiniAppInstantiateTemplateAppSimpleRequest)
    }
    return paramMap
}

func (req *TaobaoMiniappWidgetTemplateInstantiateRequest) ToFileMap() map[string]interface{} {
    fileMap := make(map[string]interface{})
    return fileMap
}